package cn.v2tila.rsosa.management.service;

import cn.v2tila.rsosa.management.entity.AssoEntity;
import cn.v2tila.rsosa.management.utils.PageDataResult;
import org.springframework.stereotype.Service;

/**
 * @author v2tila on 23:31 2019/4/17
 */
@Service
public interface AssoService {
    PageDataResult getAsso(int page, int limit, AssoEntity assoEntity);

    boolean existsByNo(String no);

    AssoEntity saveAndFlush(AssoEntity assoEntity);

    void deleteById(Integer id);

    AssoEntity findByUniqueId(String uniqueId);

    AssoEntity findById(Integer id);


}
